@import './base.scss';

.man-container{
  padding: 0 rem(40);
}
// 下拉菜单
.collapse-menu{
  position: relative;
  .collase-button{
    font-size: rem(24);
    display: flex;
    justify-content: space-between;
    box-sizing: border-box;
    line-height: rem(93);
    border-bottom: rem(4) solid #E7E7E7;
    .index-num{
      color: #646464;
    }
    span{
      color: #2D2D2D;
      &.icons{
        color: #96182D;
      }
    }
  }
  .menu-cotent{
    background: #fff;
    position: absolute;
    position: absolute;
    right: 0;
    left: 0;
    margin-left: -1px;
  }
  nav{
    width: rem(212);
    margin-top: rem(6);
    padding-bottom:rem(10);
  }
  .am-nav>li+li{
    margin-top: 0;
  }
  .am-nav>li>a{
    color: #8A8A8A;
    line-height: rem(120);
    padding: 0;
    font-size: rem(20);
    margin-left: rem(50);
    border-bottom:rem(4) solid #E7E7E7;
    .index{
      display: inline-block;
      margin-right: rem(18);
    }
  }
  .am-nav>li.am-active>a{
    color:#96182D;
    background-color: #fff;
    border-color: #96182D;
  }
} // end -coll

// footer
.footer-box{
  overflow: hidden;
  padding: 0 rem(40);
  background-color: #585858;
  .footer-nav{
    border-bottom:1px solid #797979;
    ul{
      font-size: 0;
      padding: rem(28) 0;
    }
    ul li{
      display: inline-block;
      width: 33.3%;
      &.line{
        border-right: 1px solid #797979;
      }
      a{
        line-height: rem(45);
        text-align: center;
        display: block;
        font-size: rem(24);
        color: #F9F9F9;
        .icons{
          display: inline-block;
          background: url('../images/icon-biaodan.png') 0 0 no-repeat;
          width: rem(25);
          height: rem(25);
          background-size: contain;
          position: relative;
          top: rem(4);
        }
      }
    }
  }
  .address-box{
    position: relative;
    height: rem(86);
    .info-text{
      padding: rem(24) 0;
      font-size: rem(14);
      line-height: rem(24);
      color: $cff;
    }
    .icon-box{
      position: absolute;
      right: 0;
      top: 0;
      line-height: 100%;
      span{
        font-size: rem(22);
        color:#D8D8D8;
        vertical-align: top;
      }
      .am-icon-weibo{
        color: #971B2F;
      }
    }
  }
}
// end common

// index
.top-banner-box{
    .banner-img{
        width: 100%;
        height: rem(472);
        object-fit: cover;
        vertical-align: top;
    }
}

.production-box{
    padding-top: rem(25);
    .prd-title{
        position: relative;
        font-size: 0;
        font-size: rem(28);
        color: #313030;
        line-height: rem(75);
        overflow: hidden;
        span{
            display: inline-block;
            &.name{
                vertical-align: middle;
            }
        }
        .prd-icon{
            vertical-align: middle;
            width: rem(28);
            height: rem(38);
            background: url('../images/naicha.png') 0 0 no-repeat;
            background-size: contain;
        }
        .add-icon{
            position: absolute;
            right: 0;
            top:50%;
            transform: translateY(-50%);
            float: right;
            width: rem(31);
            height: rem(31);
            background: url('../images/jia.png') 0 0 no-repeat;
            background-size: contain;
          &:hover{
            background-image: url('../images/jia(2).png');
          }
        }
    }
    .prd-box{
        font-size: 0;
        .prd-item{
            display: inline-block;
            vertical-align: top;
            margin-right: rem(24);
            width: rem(207);
          position: relative;
          &.current{
            .mask{
              visibility: visible;opacity: 1;
            }
          }
            .mask{
              position: absolute;
              width: 100%;
              height: 100%;
              top: 0;
              transition: .3s;
              -webkit-transition: .3s;
              display: flex;
              align-items: center;
              justify-content: center;
              left: 0;
              background-color: rgba(0,0,0,.6);
              color: #fff;
              font-size: 0.28rem;text-align: center;
              visibility: hidden;opacity: 0;
              border: 2px solid #971B2F;
            }
            &:last-child{
                margin-right: 0;
            }
            img{
              width: 100%;
            }
        }
    }
}
// shop
.shop-box{
    padding-top: rem(38);
    .shop-title{
        position: relative;
        font-size: 0;
        font-size: rem(28);
        color: #313030;
        line-height: rem(75);
        overflow: hidden;
        span{
            display: inline-block;
            &.name{
                vertical-align: middle;
            }
        }
        .shop-icon{
            width: rem(31);
            height: rem(28);
            vertical-align: middle;
            background: url('../images/shop.png') 0 0 no-repeat;
            background-size: contain;
        }
        .add-icon{
            position: absolute;
            right: 0;
            top:50%;
            transform: translateY(-50%);
            float: right;
            width: rem(31);
            height: rem(31);
            background: url('../images/jia.png') 0 0 no-repeat;
            background-size: contain;
          &:hover{
            background-image: url('../images/jia(2).png');
          }

        }
    }
    .shop-focus-box{
        font-size: 0;
        overflow: hidden;
        height: rem(379);
        position: relative;
        img{
            object-fit: cover;
            height: 100%;
            width: 100%;
        }
        .swiper-pagination.swiper-pagination-bullets{
            text-align: right;
            padding-right: rem(28);
            bottom:rem(18);
        }
        .swiper-pagination-bullet{
            width: rem(15);
            border-radius: 0;
            height: rem(15);
            opacity: .6;
            background-color: rgba(0,0,0,1);
            &.swiper-pagination-bullet-active{
                background-color: #fff;
            }
        }
        .button-prev.left.swiper-button-disabled{
            background-color: $cff;
            color: #4A4A4A;
        }
        .button-next.right.swiper-button-disabled{
            background-color: $cff;
            color: #4A4A4A;
        }
        .button-prev{
            outline: none;
            text-align: center;
            width: rem(60);
            height: rem(53);
            line-height: rem(53);
            position: absolute;
            left: 0;
            bottom:0;
            z-index: 2;
            color: $cff;
            span{
                font-size: rem(27);
            }
            background-color:#971B2F;
        }
        .button-next{
            outline: none;
            color: $cff;
            text-align: center;
            width: rem(60);
            line-height: rem(53);
            height: rem(53);
            position: absolute;
            left:rem(60);
            bottom:0;
            background-color: #971B2F;
            z-index: 2;
            span{
                font-size: rem(27);
            }
        }
    }
}
// connct
.connct-box{
    padding-top: rem(41);
    .connct-title{
        position: relative;
        font-size: 0;
        font-size: rem(28);
        color: #313030;
        line-height: rem(75);
        overflow: hidden;
        span{
            display: inline-block;
            &.name{
                vertical-align: middle;
            }
        }
        .connct-icon{
            vertical-align: middle;
            width: rem(31);
            height: rem(30);
            background: url('../images/ditu.png') 0 0 no-repeat;
            background-size: contain;
        }
        .add-icon{
            position: absolute;
            right: 0;
            top:50%;
            transform: translateY(-50%);
            float: right;
            width: rem(31);
            height: rem(31);
            background: url('../images/jia.png') 0 0 no-repeat;
            background-size: contain;
          &:hover{
            background-image: url('../images/jia(2).png');
          }
        }
    }
    .connct-img-box{
        font-size: 0;
        padding-top: rem(5);
        img{
            display: inline-block;
            vertical-align: top;
            max-width: 100%;
        }
    }
}
// tel
.tel-box{
    padding: rem(39) 0 rem(112) 0;
    p{
        color:#313030;
        font-size: rem(20);
        line-height: rem(46);
        span{
            display: inline-block;
            vertical-align: middle;
            margin-right: rem(16);
        }
        .tel-icon{
            width: rem(21);
            height: rem(20);
            background: url('../images/dianhua.png') 0 0 no-repeat;
            background-size: contain;
            vertical-align: middle;
        }
        .loc-icon{
            width: rem(16);
            height: rem(20);
            background: url('../images/dizhi.png') 0 0 no-repeat;
            background-size: contain;
            vertical-align: middle;
        }
    }
}
